package biz.ezcom.design.pattern.facade;

/**
 * 基金类
 * 股票与债券都是很专业的，表示内部很繁杂
 * 由基金来操作股票与债券，基金就是股票与债券的外观
 */
public class FoundationFacade {
    
    private Stock stock = new Stock();
    private Bond bond = new Bond();
    
    public void Operation(){
    	stock.operation();
    	bond.operation();
    }
}
